package org.springblade.modules.admin.service;

import org.apache.ibatis.annotations.Param;
import org.springblade.core.mp.base.BaseService;
import org.springblade.modules.admin.entity.ElevatorAudit;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springblade.modules.admin.vo.feishu.FeiShuAnnualReviewDateVO;

import java.util.List;

public interface ElevatorAuditService extends BaseService<ElevatorAudit> {


    Boolean updateElevatorAudit(ElevatorAudit elevatorAudit);

	int countBuildingElevatorAudit(Long buildingId, String checkTime, Integer checkType);

    String batchUpdateElevatorAuditTime();

	/**
	 * 获取电梯年检日期
	 * @param privateNum
	 * @return
	 */
	String getElevatorAuditTimeByPrivateNum(String privateNum);

	/**
	 * 根据设备编码获取年检日期对象
	 * @param deviceCodes 设备编码
	 * @return 年检日期对象列表
	 */
    List<FeiShuAnnualReviewDateVO> getAnnualReviewDateByDeviceCodes(List<String> deviceCodes);
}

